<?php
	echo $this->element('menu');

	echo $this->Html->image($userImageBoard['Image']['url'],array(
                                      'alt'=>'CakePHP',
                                      'class'=>'',
                                      'width'=>'100px',
                                      'height'=>'100px'));
              
	echo $this->Form->create('UserImageBoard');
	echo $this->Form->input('UserImageBoard.user_id', array('type'=>'hidden'));
	echo $this->Form->input('UserImageBoard.image_id', array('type'=>'hidden'));

	foreach($boards as $board){
		$selects[$board['Board']['id']] = $board['Board']['name'];
	}
	echo $this->Form->input(
    	'UserImageBoard.board_id',
    	array('options' => $selects, 'default' => '1')
	);
	echo $this->Form->input('UserImageBoard.description');
	echo $this->Form->input('UserImageBoard.updated');
	echo $this->Form->end('Pin it');
?>
